import { request } from '@/utils/request'

// 我的收藏列表
export function index(conditions, success, error) {
  return request('store/getUserStoreComp', 'get', conditions, success, error)
}

// 取消收藏
export function setUnUserStoreComp(data, success, error) {
  return request('store/setUnUserStoreComp', 'post', data, success, error)
}

// 电话标签
export function setMarks(data, success, error) {
  return request('store/setMarks', 'post', data, success, error)
}

// 预约标签
export function setAppointment(data, success, error) {
  return request('store/setAppointment', 'post', data, success, error)
}

// 当前预约
export function getAppointments(conditions, success, error) {
  return request('store/getAppointments', 'get', conditions, success, error)
}